<template>
  <div class="info">
    <i></i>
    <span>{{ props.titleInfo }}</span>
  </div>
</template>

<script setup lang="ts">
const props = defineProps({
  titleInfo: {
    type: String,
    default: '',
  },
})
</script>

<style lang="less" scope>
.info {
  display: flex;
  align-items: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
  background-image: url('@/assets/image/login/hxw.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-bottom: 17px;
  i {
    display: inline-block;
    width: 6px;
    height: 20px;
    margin-right: 8px;
    background-image: url(@/assets/image/common/title-left-icon.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
}
</style>
